package com.santoker.user.service.service.common;

import com.baomidou.mybatisplus.extension.service.IService;
import com.santoker.user.service.model.UserRecordDetail;

import java.util.List;

/**
 * <p>
 * 用户记录详情表 服务类
 * </p>
 *
 * @author Jiangs
 */
public interface IUserRecordDetailService extends IService<UserRecordDetail> {

    /**
     * 查询用户记录列表
     *
     * @param recordId 记录ID
     * @return
     */
    List<UserRecordDetail> getUserRecordDetailList(Integer recordId);

    /**
     * 查询记录详情
     *
     * @param recordId 记录ID
     * @param tNode    时间节点
     * @return
     */
    UserRecordDetail getUserRecordDetailByRecordIdAndTNode(Integer recordId, String tNode);

}
